<template>
	<view>
		<navBar :title="planData.cinemaName?planData.cinemaName:'选择位置'" />
		<view>
			<seatArea ref="seatArea"/>
		</view>
	</view>
</template>

<script>
	import navBar from '@/components/navbar/index'
	import seatArea from './components/seatArea.vue'
	export default {
		data() {
			return {
				curDate:'',
				planData: {}
			}
		},
		components: {
			navBar,
			seatArea
		},
		onLoad(option) {
			this.planData = JSON.parse(option.planData);
			this.curDate = option.curDate;
		},
		mounted() {
			this.$refs.seatArea.planData = this.planData;
			this.$refs.seatArea.curDate = this.curDate;
			console.log(this.planData)
			this.$refs.seatArea.getSeatList();
		},
		methods: {
			
		}
	}
</script>

<style scoped>

</style>
